package com.rocket.bedroom.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: 周毅
 * @ClassName:
 * @Description: TODO
 * @Date: Create in 9:58 2020/6/2
 * @ModifyBy:
 */
@Controller
public class WebController
{

    @RequestMapping(value = {"/", "/loginpage"})
    public String index()
    {
        return "login";
    }


    @GetMapping(value = {"/registerpage"})
    public String registerPage()
    {
        return "register";
    }
}

